*{
    margin: 0px;
    padding: 0px;
}
body{
    background: #ddd;
}
.main{
    width: 100%;
    background: #ddd;
    margin: 0px auto;       
}

#bg{
    display: block;
//  width: 100%;
//  max-width: 960px;
//  min-width: 240px;
//  height: 500px;
    margin: 0px auto;    
//  border:1px solid #666;
}
#start{    
    height: 500px;
    width: 100%;
    margin: 0px auto;
    position: absolute;    
    #startContainer{
        .logo{
            width: 228px;
            height: 60px;
            margin: 0 auto;
            position: relative;
            top: 20px;  
            z-index: 1;          
            background: url(gameLogo.png)no-repeat;
        }
//      width: 960px;
        height: 500px;
        margin: 0px auto;
        position: relative;
        z-index: 5;
        .userName{
            width: 100%;
            height: 50px;
            line-height: 50px;
            font-size: 14px;
            float: left;
            ul{
                width: 200px;
                margin: 0 auto;
                text-align: center;
                padding-top: 50px;
                span{
                    font-size: 16px;
                    font-weight: bold;
                }
                #userName{
                    border-radius: 5px;
                    height: 30px;
                    line-height: 30px;
                    text-indent: 5px;
                }
                li{
                    list-style: none;
                    text-decoration: underline;
                    background: #FFFFFF;
                    border-radius: 5px;
                    border: 1px dashed #85BFF5;
                }
            }
        }
        .startButton{
                width: 100%;
                height: 80px;
                line-height: 80px;
                margin:0px auto;
                margin-top: 160px;
                text-align: center;
                float: left;
            #play{
                border: 2px solid #85BFF5;
                width: 100px;
                border-radius: 15px;
                height: 60px;
                line-height: 60px;
                cursor: pointer;
                margin: 0 auto;
                background: #ffffff;   
                box-shadow: 10px 10px 5px #666;        
            }
        }
    }
    #blocks{
        width:100%;
        height: 480px;
        position: absolute;
//      z-index: 1;
        
        .contaner{
            background: url(startBg.gif);
            width: 100%;
            max-width: 960px;
            min-width: 320px;
            height: 480px;
            margin: 0 auto;
            overflow: hidden;

            .block-2{
                position: relative;
                right: 50%;
                top: 50%;
                animation: 3s linear 0s normal none infinite running block-2;
                -webkit-animation:3s linear 0s normal none infinite running block-2;
            }
            .block-3{
                position: relative;
                right: 50%;
                bottom: 50%;
                animation: 7.8s linear 0s normal none infinite running block-3;
                -webkit-animation: 7.8s linear 0s normal none infinite running block-3;
            }
            .block-4{
                position: relative;
                left: 50%;
                bottom: 50%;
                animation: 10.5s linear 0s normal none infinite running block-4;
                -webkit-animation: 10.5s linear 0s normal none infinite running block-4;
            }
        }
    }
}
            .block-1{
                position: relative;
                left: 50%;
                top: 50%;
                animation: 5.8s linear 0s normal none infinite running block-1;
                -webkit-animation: 5.8s linear 0s normal none infinite running block-1;
            }
@keyframes block-1{
 
  0%{
      transform:translate3d(0px,0px,0px);
      width: 10px;
      height: 10px;
      opacity: 1;
    }
  100%{
      width: 100px;
      height: 100px;
      opacity: 0;
      left: 0%;
      top:0%;
      transform:translate3d(30px,30px,5000px);
      }
}
@-webkit-keyframes block-1{
 
  0%{
      transform:translate3d(0px,0px,0px);
      width: 10px;
      height: 10px;
      opacity: 1;
    }
  100%{
      transform:translate3d(30px,30px,500px);
      width: 100px;
      height: 100px;
      opacity: 0;
      left: 0%;
      top:0%;
      }
}
@-webkit-keyframes block-2{
 
  0%{
      transform:translate3d(0px,0px,0px);
      width: 10px;
      height: 10px;
      opacity: 1;
    }
  100%{
      transform:translate3d(30px,30px,1000px);
      width: 80px;
      height: 80px;
      opacity: 0;
      right: 0%;
      top:0%;
      }
}
@keyframes block-2{
 
  0%{
      transform:translate3d(0px,0px,0px);
      width: 10px;
      height: 10px;
      opacity: 1;
    }
  100%{
      transform:translate3d(30px,30px,1000px);
      width: 80px;
      height: 80px;
      opacity: 0;
      right: 0%;
      top:0%;
      }
}
@keyframes block-3{
 
  0%{
      transform:translate3d(0px,0px,0px);
      width: 10px;
      height: 10px;
      opacity: 1;
    }
  100%{
      transform:translate3d(30px,30px,600px);
      width: 160px;
      height: 150px;
      opacity: 0;
      right: 0%;
      bottom:0%;
      }
}
@-webkit-keyframes block-3{
 
  0%{
      transform:translate3d(0px,0px,0px);
      width: 10px;
      height: 10px;
      opacity: 1;
    }
  100%{
      transform:translate3d(30px,30px,600px);
      width: 160px;
      height: 150px;
      opacity: 0;
      right: 0%;
      bottom:0%;
      }
}
@-webkit-keyframes block-4{
 
  0%{
      transform:translate3d(0px,0px,0px);
      width: 10px;
      height: 10px;
      opacity: 1;
    }
  100%{
      transform:translate3d(30px,30px,800px);
      width: 40px;
      height: 40px;
      opacity: 0;
      left: 0%;
      bottom:0%;
      }
}
@keyframes block-4{
 
  0%{
      transform:translate3d(0px,0px,0px);
      width: 10px;
      height: 10px;
      opacity: 1;
    }
  100%{
      transform:translate3d(30px,30px,800px);
      width: 40px;
      height: 40px;
      opacity: 0;
      left: 0%;
      bottom:0%;
      }
}
.scro{
    display: none;
//  height: 40px;
    line-height:100%;
    margin: 0px auto;
    width: 100%;
    position: fixed;
    top: 0px;
    left: 0px;
    background: #509DE0;
    .container{
        width: 100%;
        max-width: 960px;
        margin: 0 auto;
        height: 100%;
    }
    .left{
        width:25%;
        float: left;
        height: 100%;
        margin-left: 5%;
    }
    .right{
        float: right;
        width:25%;
        margin-left: 5%;
    }
    #pause{
        float: left;
        width: 30%;
        cursor: pointer;
        text-align: center;
        margin: 0px 5%;
        border-radius: 5px;
        background: #86C0F6;
    }
}